package day6;

import java.io.FileWriter;
import java.io.IOException;

/**
 * @author oldliu
 * @since 1.0
 */
public class FileWriterTest {
    public static void main(String[] args) {
        System.out.println(System.getProperties());
        try {
            FileWriter fw=new FileWriter("E:/temp/java75/2.txt");
            fw.write(21016);
            fw.append("大家好才是真的好");
            fw.write("We change lives");
            fw.write('\r');
            fw.write('\n');
            fw.write("这里是java75班");
            fw.close();
        } catch (IOException e) {
            e.printStackTrace();
        }

    }
}
